package com.icw.resource.inner.module.api;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.icw.decoupling.impl.module.RestfulApiImpl;
import com.icw.resource.inner.entity.IcwArea;
import com.icw.utility.IcwUtils;

public class IcwAreaRestfulApi extends RestfulApiImpl<IcwArea> {

	@Override
	public void post(Map<String,Object> params, HttpServletRequest request, HttpServletResponse response, Map<String, Object> data) throws Exception {
		params.put("code", IcwUtils.nextSeq("AREA_CODE"));
		super.post(params, request, response, data);
	}
}
